import java.util.PriorityQueue;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: GaoBo
 * Date: 2021-07-21
 * Time: 21:54
 */
public class TestMain {



    public static void main2(String[] args) {
        //堆 默认是大小为 11
        PriorityQueue<Integer> queue = new PriorityQueue<>();
        //问题：默认是小堆 还是 大堆vc  小堆
        queue.offer(61);
        queue.offer(21);
        queue.offer(1);
        System.out.println(queue);
    }
    public static void main1(String[] args) {

        int[] array = { 27,15,19,18,28,34,65,49,25,37 };

        TestHeap testHeap = new TestHeap();
        testHeap.createHeap(array);

        testHeap.heapSort();


        //testHeap.pop();

        System.out.println("fasdfdsa");
    }
}
